<template>
	 <view class="btn">
		 <view class="loginBtn" @click="toLogin">
			<text>请先登录</text> 
			 </view>
	 </view>
</template>

<script>
	export default {
		methods:{
			toLogin(){
				uni.navigateTo({
					url: '/pages/login/login?num=1'
				})
			}
		}
	}
</script>

<style lang="scss">
	.btn{
		width: 100vw;
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		.loginBtn{
			border-radius: 20rpx;
			width: 300rpx;
			height: 70rpx;
			background-color: orangered;
			text-align: center;
			color:white;
			display: flex;
			justify-content: center;
			align-items: center;
		}
	}
</style>